<?php

use Biz\service\springHomeDecActivity\WiningService;

class MyLotteryAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;

    public function main()
    {
        $userLottery = [];
        $result = WiningService::getUserLottery($this->uid);
        if ($result && is_array($result)) {
            $userLottery = $result;
        }
        $this->setSuccess($userLottery);
    }
}